from fastapi import FastAPI

from app.api.generate.utils.generate_queue.queue_utils import start_listen_queue


def register_servers(app: FastAPI) -> None:
    @app.on_event('startup')
    async def startup_event():
        start_listen_queue()

